include ( ../../mythconfig.mak )
include ( ../../settings.pro )

TEMPLATE = lib
CONFIG += plugin thread
TARGET = mythboinc
target.path = $${LIBDIR}/mythtv/plugins
INSTALLS += target

#uifiles.path = $${PREFIX}/share/mythtv/themes/default
#uifiles.files = mythboinc-ui.xml
#installfiles.path = $${PREFIX}/share/mythtv
#installfiles.files = mythboinc-ui.xml

INSTALLS += uifiles


defaultfiles.path = $${PREFIX}/share/mythtv/themes/default
defaultfiles.files = ../theme/default/*.xml default/images/*.png

widefiles.path = $${PREFIX}/share/mythtv/themes/default-wide
widefiles.files = ../theme/default-wide/*.xml default-wide/images/*.png

menufiles.path = $${PREFIX}/share/mythtv/
menufiles.files = ../theme/menus/*.xml

INSTALLS += defaultfiles widefiles menufiles

# Input
HEADERS += mythboinc.h mythboincconfig.h
SOURCES += main.cpp mythboinc.cpp mythboincconfig.cpp

macx {
    QMAKE_LFLAGS += -flat_namespace -undefined suppress
}


